package com.zycfc.zsf.boot.redis.domain;

import java.io.*;
import com.zycfc.zsf.boot.logback.consts.*;

public class RedisMonitor implements Serializable
{
    private static final long serialVersionUID = 1L;
    private String method;
    private String key;
    private String value;
    private Integer keySize;
    private Integer valueSize;
    private Long exeTm;
    private Long parseTm;
    private String exeSts;
    private Long startTime;
    private Long endTime;
    
    @Override
    public String toString() {
        return LogTypeEnum.REDISMOR + "@@@" + this.method + "#@%@#" + this.key + "#@%@#" + this.value + "#@%@#" + this.keySize + "#@%@#" + this.valueSize + "#@%@#" + this.exeTm + "#@%@#" + this.parseTm + "#@%@#" + this.exeSts + "#@%@#" + this.startTime + "#@%@#" + this.endTime;
    }
    
    public void setMethod(final String method) {
        this.method = method;
    }
    
    public void setKey(final String key) {
        this.key = key;
    }
    
    public void setValue(final String value) {
        this.value = value;
    }
    
    public void setKeySize(final Integer keySize) {
        this.keySize = keySize;
    }
    
    public void setValueSize(final Integer valueSize) {
        this.valueSize = valueSize;
    }
    
    public void setExeTm(final Long exeTm) {
        this.exeTm = exeTm;
    }
    
    public void setParseTm(final Long parseTm) {
        this.parseTm = parseTm;
    }
    
    public void setExeSts(final String exeSts) {
        this.exeSts = exeSts;
    }
    
    public void setStartTime(final Long startTime) {
        this.startTime = startTime;
    }
    
    public void setEndTime(final Long endTime) {
        this.endTime = endTime;
    }
    
    public String getMethod() {
        return this.method;
    }
    
    public String getKey() {
        return this.key;
    }
    
    public String getValue() {
        return this.value;
    }
    
    public Integer getKeySize() {
        return this.keySize;
    }
    
    public Integer getValueSize() {
        return this.valueSize;
    }
    
    public Long getExeTm() {
        return this.exeTm;
    }
    
    public Long getParseTm() {
        return this.parseTm;
    }
    
    public String getExeSts() {
        return this.exeSts;
    }
    
    public Long getStartTime() {
        return this.startTime;
    }
    
    public Long getEndTime() {
        return this.endTime;
    }
}
